package sys.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

@ApiModel
@Data
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class TbUserEntity extends CommonEntity implements Serializable {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", name = "id")
    private Long id;
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", name = "username")
    private String username;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", name = "password")
    private String password;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", name = "createTime")
    private Date createTime;
    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", name = "updateTime")
    private Date updateTime;
    /**
     * 是否删除 1删除 0未删除
     */
    @ApiModelProperty(value = "是否删除 1删除 0未删除", name = "isDeleted")
    private Integer isDeleted;
    /**
     * 1.青铜2.白银3.黄金
     */
    @ApiModelProperty(value = "1.青铜2.白银3.黄金", name = "userLevel")
    private String userLevel;
    /**
     * 1男0女
     */
    @ApiModelProperty(value = "1男0女", name = "sex")
    private Integer sex;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", name = "roleId")
    private Integer roleId;
    /**
     * email
     */
    @ApiModelProperty(value = "email", name = "email")
    private String email;
    /**
     * phone
     */
    @ApiModelProperty(value = "phone", name = "phone")
    private String phone;
    /**
     * hobby
     */
    @ApiModelProperty(value = "hobby", name = "hobby")
    private String hobby;
    /**
     * 注册日期
     */
    @ApiModelProperty(value = "注册日期", name = "registerDate")
    private Date registerDate;
    /**
     * 薪资
     */
    @ApiModelProperty(value = "薪资", name = "salary")
    private BigDecimal salary;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }


}
